import request from "@/utils/request";

// 差额列表
export function get_bulk_balance_index(params) {
  return request({
    url: "/dispatch/balance",
    method: "get",
    params
  });
}

// 支付差额
export function pay_bulk_balance(params) {
  return request({
    url: "/dispatch/payBalance",
    method: "get",
    params
  });
}
// 关闭差额支付
export function close_bulk_balance(data) {
  return request({
    url: "/dispatch/closeBalanceOrder ",
    method: "post",
    data: data
  });
}
// 查询差额支付是否成功
export function query_bulk_balance(params) {
  return request({
    url: "/dispatch/queryBalance",
    method: "get",
    params
  });
}

// 差额流水
export function get_bulk_balance_warter(params) {
  return request({
    url: "/dispatch/water",
    method: "get",
    params
  });
}
